home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 1998 June / SGI IRIX 6.5 Applications 1998 June.iso / dist / demos.idb / usr / demos / Demo_Interfaces / Buttonfly / bf_const.pl.z / bf_const.pl
Perl Script  |  1998-05-22  |  3KB  |  76 lines

  1. #!/usr/sbin/perl
  2.  
  3. #**************************************************************************
  4. #*                                                                        *
  5. #*            Copyright (c) 1996 Silicon Graphics, Inc.                   *
  6. #*                      All Rights Reserved                               *
  7. #*                                                                        *
  8. #*         THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF SGI             *
  9. #*                                                                        *
  10. #* The copyright notice above does not evidence any actual of intended    *
  11. #* publication of such source code, and is an unpublished work by Silicon *
  12. #* Graphics, Inc. This material contains CONFIDENTIAL INFORMATION that is *
  13. #* the property of Silicon Graphics, Inc. Any use, duplication or         *
  14. #* disclosure not specifically authorized by Silicon Graphics is strictly *
  15. #* prohibited.                                                            *
  16. #*                                                                        *
  17. #* RESTRICTED RIGHTS LEGEND:                                              *
  18. #*                                                                        *
  19. #* Use, duplication or disclosure by the Government is subject to         *
  20. #* restrictions as set forth in subdivision (c)(1)(ii) of the Rights in   *
  21. #* Technical Data and Computer Software clause at DFARS 52.227-7013,      *
  22. #* and/or in similar or successor clauses in the FAR, DOD or NASA FAR     *
  23. #* Supplement. Unpublished - rights reserved under the Copyright Laws of  *
  24. #* the United States. Contractor is SILICON GRAPHICS, INC., 2011 N.       *
  25. #* Shoreline Blvd., Mountain View, CA 94039-7311                          *
  26. #**************************************************************************
  27.  
  28. # bf_const.pl
  29. #
  30. # Constants for generating buttonfly menus
  31.  
  32. 1; # Return true
  33.  
  34. $PATH_BUTTONFLY_DIR     = "$PATH_DEMO_INTERFACES_DIR/Buttonfly";
  35. $PATH_ADDONS_DIR        = "$PATH_DEMO_DIR/Buttonfly";
  36.  
  37. $BUTSRC_SCRIPT = "bf_menu.pl";
  38.  
  39. $FILE_BUTTONFLY_SCRIPT    = "$PATH_BUTTONFLY_DIR/$BUTSRC_SCRIPT";
  40. $FILE_SEARCH_TMP            = "$PATH_TMP/demos.search.$EXT_TMP";
  41. $FILE_INFO_TMP                = "$PATH_TMP/demos.info.$EXT_TMP";
  42. $FILE_INFO_TMP2            = "$PATH_TMP/demos.info2.$EXT_TMP";
  43. $FILE_BUTTONFLY_INFO        = "$PATH_BUTTONFLY_DIR/buttonfly.info";
  44.  
  45. $SWITCH_INFO            = "info";
  46. $SWITCH_MENU            = "menu";
  47. $SWITCH_HOW_TO            = "howto";
  48. $SWITCH_CAT                = "category";
  49. $SWITCH_SUB_CAT        = "subCateogry";
  50. $SWITCH_FEATURES        = "featuresMenu";
  51. $SWITCH_MARKETS        = "marketsMenu";
  52. $SWITCH_HARDWARE        = "hardwareMenu";
  53. $SWITCH_TREE_MENU        = "treeMenu";
  54. $SWITCH_RELATED        = "relatedDemos";
  55. $SWITCH_MAN                = "manPage";
  56. $SWITCH_FIND_DEMO        = "findDemo";
  57. $SWITCH_PARTIAL        = "partialDemo";
  58.  
  59. $CMD_LAUNCH = "/usr/sbin/launch";
  60.  
  61.  
  62. $PATH_WEB_CGI            = "../Web/cgi-scripts";
  63.  
  64. $TITLE_FIND_DEMO        = "Find A Demo";
  65. $TITLE_TREE_MENU        = "Trees";
  66. $TITLE_HARDWARE        = "Hardware";
  67. $TITLE_FEATURES        = "Features";
  68. $TITLE_MARKETS            = "Industries";
  69.  
  70. $COLOR_HIGH            = "1.0 .7 1.0";
  71. $COLOR_NORM         = ".9 .5 .9";
  72. $COLOR_NORM_END    = ".54 .54 1.0";
  73. $COLOR_HIGH_END    = ".56 .52 1.0";
  74.  
  75. $BF_MAX_DEMOS = 30;
  76.